package cn.cl.gulimall.ware.dao;

import cn.cl.gulimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 *
 * @author 高志红
 * @email 1739745826@qq.com
 * @date 2020-05-08 07:47:36
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {
	/**
	 * 将成功采购的进行入库将成功采购的进行入库
	 */
	void addStock(@Param("skuId") Long skuId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum);
}
